using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.DirectX.DirectSound;

namespace Zsa.Emulation.Render.Audio.DxSound
{
    public class DxSoundCapabilities : SoundDeviceCapabilities
    {

        public DxSoundCapabilities()
            : base ( 1 )
        {
        }

        #region Properties
        /// <summary>
        /// Gets the default device.
        /// </summary>
        /// <value></value>
        public override RenderDeviceItem DefaultDevice
        {
            get
            {
                return new RenderDeviceItem("None", "jj", RenderDeviceType.Audio, 0);
            }
        }
        #endregion Properties

        #region Methods

        /// <summary>
        /// Creates the settings.
        /// </summary>
        /// <param name="item">The item.</param>
        /// <returns></returns>
        public override SoundDeviceSettings CreateSettings(RenderDeviceItem item)
        {
            return new DxSoundSettings(item);
        }

        /// <summary>
        /// Gets the devices supported by the render.
        /// </summary>
        /// <returns></returns>
        public override IList<RenderDeviceItem> GetDevices()
        {
            return new RenderDeviceItem[0];
        }
        #endregion Methods
    }
}
